rem tomcat start from home dir
call rd /Q/S logs
call cl
setlocal
if not "" == "%1" set JPDA_ADDRESS=%1
call .\bin\catalina.bat jpda start
rem call .\bin\startup
for /f %i in ('chdir') do set wd=%i
call title %wd%